package jk.zmn.server.core;

import java.util.HashMap;
import java.util.Map;

/**
 * servlet的上下文对象
 * @author zmn
 *
 */
public class ServletContext {
	/*
	 *    有LoginServlet   设值别名  login     
	 *    访问login  /login  /log
	 */
	//存放servlet的别名
	private Map<String, String> servletMap;
	//存放url对应的别名
	private Map<String, String> mappingMap;
	
	public ServletContext() {

		servletMap = new HashMap<>();
		mappingMap = new HashMap<>();
	}
	
	
	public Map<String, String> getServletMap() {
		return servletMap;
	}
	public void setServletMap(Map<String, String> servletMap) {
		this.servletMap = servletMap;
	}
	public Map<String, String> getMappingMap() {
		return mappingMap;
	}
	public void setMappingMap(Map<String, String> mappingMap) {
		this.mappingMap = mappingMap;
	}
	
	

}
